package com.engineering.elink.co;

import io.swagger.annotations.ApiParam;

import java.util.Date;

public class UserCo {
	
	@ApiParam(value = "邮箱", required = true)
	private String email;
	
	@ApiParam(value = "手机号", required = true)
	private String phone;
	
	@ApiParam(value = "密码", required = true)
	private String passwd;
	
	@ApiParam(value = "创建时间（不要填写）", required = false)
	private Date createTime;
	
	@ApiParam(value = "用户ID（不要填写）", required = false)
	private String userId;
	
	@ApiParam(value = "验证码", required = true)
	private String verifyCode;
	
	private Integer roleId;

	@ApiParam(value = "用户类型", required = false,defaultValue="1")
	private int userType;
	
	private int coinValue;//积分
	
	private int influenceValue;//影响值
	
	private int coinFrozen;//冻结的积分
	
	private int levelId;//用户级别
	
	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getPasswd() {
		return passwd;
	}

	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getVerifyCode() {
		return verifyCode;
	}

	public void setVerifyCode(String verifyCode) {
		this.verifyCode = verifyCode;
	}

	public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	public int getUserType() {
		return userType;
	}

	public void setUserType(int userType) {
		this.userType = userType;
	}

	public int getCoinValue() {
		return coinValue;
	}

	public void setCoinValue(int coinValue) {
		this.coinValue = coinValue;
	}

	public int getInfluenceValue() {
		return influenceValue;
	}

	public void setInfluenceValue(int influenceValue) {
		this.influenceValue = influenceValue;
	}

	public int getCoinFrozen() {
		return coinFrozen;
	}

	public void setCoinFrozen(int coinFrozen) {
		this.coinFrozen = coinFrozen;
	}

	public int getLevelId() {
		return levelId;
	}

	public void setLevelId(int levelId) {
		this.levelId = levelId;
	}
}
